﻿@model csharp_Movies_315.Models.TodoUpdateVm
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@using(Html.BeginForm()){
    <div>
        @Html.LabelFor(model => model.TodoUpdate.Task)
        @Html.TextBoxFor(model => model.TodoUpdate.Task)
    </div>
    <div>
        @Html.LabelFor(model => model.TodoUpdate.IsCompleted)
        @Html.CheckBoxFor(model => model.TodoUpdate.IsCompleted)
    </div>
 <div>
     <input type="submit" value="Update Todo" />
 </div>
}
